package com.bw.nacosclient.controller;

import com.bw.nacosclient.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/demo")
public class DemoController {

    @Autowired
    DemoService service;

    @RequestMapping("/demo01")
    public void xx() {

        service.add();

    }


}
